package cn.itsource.pethome.user.mapper;

import cn.itsource.pethome.user.domain.WechatUser;
import org.apache.ibatis.annotations.Param;

public interface WechatMapper {
    //通过openid查询用户
    WechatUser loadByOpenid(String openid);

    //保存微信用户
    void save(WechatUser user);

    //绑定微信用户
    void binder(@Param("loginInfoid") Long loginInfoid, @Param("openid") String openid);}
